package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 景区动态对象 tourism_news
 *
 * @author gqd
 * @date 2020-12-29
 */
public class TourismNews extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 标题 */
    @Excel(name = "标题")
    private String newsTitle;

    /** 图片 */
    @Excel(name = "图片")
    private String newsPhotos;

    /** 发布者 */
    @Excel(name = "发布者")
    private String newsPublisher;

    /** 内容 */
    @Excel(name = "内容")
    private String newsContent;

    private String tourismName;

    private String tourismPhotos;

    private String tourismPublisher;

    private String tourismRecord;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setNewsTitle(String newsTitle)
    {
        this.newsTitle = newsTitle;
    }

    public String getNewsTitle()
    {
        return newsTitle;
    }
    public void setNewsPhotos(String newsPhotos)
    {
        this.newsPhotos = newsPhotos;
    }

    public String getNewsPhotos()
    {
        return newsPhotos;
    }
    public void setNewsPublisher(String newsPublisher)
    {
        this.newsPublisher = newsPublisher;
    }

    public String getNewsPublisher()
    {
        return newsPublisher;
    }
    public void setNewsContent(String newsContent)
    {
        this.newsContent = newsContent;
    }

    public String getNewsContent()
    {
        return newsContent;
    }

    public String getTourismName() {
        return tourismName;
    }

    public void setTourismName(String tourismName) {
        this.tourismName = tourismName;
    }

    public String getTourismPhotos() {
        return tourismPhotos;
    }

    public void setTourismPhotos(String tourismPhotos) {
        this.tourismPhotos = tourismPhotos;
    }

    public String getTourismPublisher() {
        return tourismPublisher;
    }

    public void setTourismPublisher(String tourismPublisher) {
        this.tourismPublisher = tourismPublisher;
    }

    public String getTourismRecord() {
        return tourismRecord;
    }

    public void setTourismRecord(String tourismRecord) {
        this.tourismRecord = tourismRecord;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("newsTitle", getNewsTitle())
            .append("newsPhotos", getNewsPhotos())
            .append("newsPublisher", getNewsPublisher())
            .append("newsContent", getNewsContent())
            .append("createTime", getCreateTime())
            .toString();
    }
}
